﻿onload = function () {
    $("#showDivInformation").click(function () {
        $("#showDivInformation").addClass("selectedA");
        $("#showDivAfterSale").removeClass("selectedA");
        $("#showDivRating").removeClass("selectedA");
        $("#divAfterSale").hide();
        $("#divInformation").show();
        $("#divRating").hide();
    });

    $("#showDivAfterSale").click(function () {
        $("#showDivAfterSale").addClass("selectedA");
        $("#showDivInformation").removeClass("selectedA");
        $("#showDivRating").removeClass("selectedA");
        $("#divAfterSale").show();
        $("#divInformation").hide();
        $("#divRating").hide();
    });

    $("#showDivRating").click(function () {
        $("#showDivRating").addClass("selectedA");
        $("#showDivInformation").removeClass("selectedA");
        $("#showDivAfterSale").removeClass("selectedA");
        $("#divRating").show();
        $("#divInformation").hide();
        $("#divAfterSale").hide();
    });
}